package com.demo.pojo;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 挂号费用表
 * </p>
 *
 * @author Helen
 * @since 2020-09-09
 */
@Data
@EqualsAndHashCode()
@Accessors(chain = true)
@ApiModel(value = "THisRegisteredfee对象", description = "挂号费用表")
public class THisRegisteredfee {

    private static final long serialVersionUID = 1L;

    @TableId(value = "reg_id", type = IdType.AUTO)
    private Integer regId;

    @ApiModelProperty(value = "用户id")
    private Integer mid;

    @ApiModelProperty(value = "公司ID")
    private Integer companyId;

    @ApiModelProperty(value = "挂号费用名称")
    private String registeredfeeName;

    @ApiModelProperty(value = "金额")
    private BigDecimal registeredfeeFee;

    @ApiModelProperty(value = "子费用总数")
    private BigDecimal registeredfeeSubFee;

    @ApiModelProperty(value = "挂号费用总金额")
    private BigDecimal registeredfeeAggregateAmount;

    @ApiModelProperty(value = "子费用数量")
    @TableField("numberOfSub")
    private Integer numberOfSub;

    @ApiModelProperty(value = "创建时间")
    private Integer createTime;


}
